package com.messe.base.models;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * ExhibitionVor entity. @author MyEclipse Persistence Tools
 */

public class ExhibitionVor implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 2525637349731880256L;
	private Integer exhibitionVorId;
	private ExhibitionAppendix exhibitionAppendix;
	private Timestamp createdStamp;
	private Timestamp lastUpdatedStamp;
	private Organization organizer;
	// 总库
	private Questionnaires questionnaires;
	
	private Brand brand;
	
	private Timestamp startDate;
	
	private Timestamp endDate;
	
	private String title;
	
	private Person person;
	// 10 观众 20 自主
	private Integer type;

	private Integer jump;
	//0 编辑中 10 已发布   40 已关闭
	private Integer flag;
	
	private Set<ExhibitionVorFormsection> exhibitionVorFormsections = new HashSet<ExhibitionVorFormsection>(0);

	private Set<Marketing> marketings=new HashSet<Marketing>();
	
	private Set<ExhibitionVorPrizeRel> exhibitionVorPrizeRels=new HashSet<ExhibitionVorPrizeRel>();
	
	// Constructors

	/**
	 * @return the marketings
	 */
	public Set<Marketing> getMarketings() {
		return marketings;
	}

	/**
	 * @param marketings the marketings to set
	 */
	public void setMarketings(Set<Marketing> marketings) {
		this.marketings = marketings;
	}

	public Set<ExhibitionVorPrizeRel> getExhibitionVorPrizeRels() {
		return exhibitionVorPrizeRels;
	}

	public void setExhibitionVorPrizeRels(Set<ExhibitionVorPrizeRel> exhibitionVorPrizeRels) {
		this.exhibitionVorPrizeRels = exhibitionVorPrizeRels;
	}

	/** default constructor */
	public ExhibitionVor() {
	}

	/** minimal constructor */
	public ExhibitionVor(Integer exhibitionVorId, Timestamp createdStamp,
			Timestamp lastUpdatedStamp) {
		this.exhibitionVorId = exhibitionVorId;
		this.createdStamp = createdStamp;
		this.lastUpdatedStamp = lastUpdatedStamp;
	}

	// Property accessors

	public Integer getExhibitionVorId() {
		return this.exhibitionVorId;
	}

	public Integer getJump() {
		return jump;
	}

	public void setJump(Integer jump) {
		this.jump = jump;
	}

	public void setExhibitionVorId(Integer exhibitionVorId) {
		this.exhibitionVorId = exhibitionVorId;
	}

	public ExhibitionAppendix getExhibitionAppendix() {
		return this.exhibitionAppendix;
	}

	public void setExhibitionAppendix(ExhibitionAppendix exhibitionAppendix) {
		this.exhibitionAppendix = exhibitionAppendix;
	}

	public Timestamp getCreatedStamp() {
		return this.createdStamp;
	}

	public void setCreatedStamp(Timestamp createdStamp) {
		this.createdStamp = createdStamp;
	}

	public Timestamp getLastUpdatedStamp() {
		return this.lastUpdatedStamp;
	}

	public void setLastUpdatedStamp(Timestamp lastUpdatedStamp) {
		this.lastUpdatedStamp = lastUpdatedStamp;
	}

	public Set<ExhibitionVorFormsection> getExhibitionVorFormsections() {
		return exhibitionVorFormsections;
	}

	public void setExhibitionVorFormsections(
			Set<ExhibitionVorFormsection> exhibitionVorFormsections) {
		this.exhibitionVorFormsections = exhibitionVorFormsections;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	/**
	 * @return the organizer
	 */
	public Organization getOrganizer() {
		return organizer;
	}

	/**
	 * @param organizer the organizer to set
	 */
	public void setOrganizer(Organization organizer) {
		this.organizer = organizer;
	}

	/**
	 * @return the questionnaires
	 */
	public Questionnaires getQuestionnaires() {
		return questionnaires;
	}

	/**
	 * @param questionnaires the questionnaires to set
	 */
	public void setQuestionnaires(Questionnaires questionnaires) {
		this.questionnaires = questionnaires;
	}

	/**
	 * @return the brand
	 */
	public Brand getBrand() {
		return brand;
	}

	/**
	 * @param brand the brand to set
	 */
	public void setBrand(Brand brand) {
		this.brand = brand;
	}

	/**
	 * @return the startDate
	 */
	public Timestamp getStartDate() {
		return startDate;
	}

	/**
	 * @param startDate the startDate to set
	 */
	public void setStartDate(Timestamp startDate) {
		this.startDate = startDate;
	}

	/**
	 * @return the endDate
	 */
	public Timestamp getEndDate() {
		return endDate;
	}

	/**
	 * @param endDate the endDate to set
	 */
	public void setEndDate(Timestamp endDate) {
		this.endDate = endDate;
	}

	/**
	 * @return the title
	 */
	public String getTitle() {
		return title;
	}

	/**
	 * @param title the title to set
	 */
	public void setTitle(String title) {
		this.title = title;
	}

	/**
	 * @return the person
	 */
	public Person getPerson() {
		return person;
	}

	/**
	 * @param person the person to set
	 */
	public void setPerson(Person person) {
		this.person = person;
	}

	/**
	 * @return the flag
	 */
	public Integer getFlag() {
		return flag;
	}

	/**
	 * @param flag the flag to set
	 */
	public void setFlag(Integer flag) {
		this.flag = flag;
	}



}